package com.bondex.charter.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 详细页面的查询出参
 * Created by JD on 2021/9/16.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DetailPageOutT<T, E> {

	@Schema(description = "委托信息")
	private T data;//单据信息
	@Schema(description = "委托未确认列表。暂定此处只有一条纪录。若此项有值，则认为存在未确认的信息，需要前端特殊处理。")
	private List<E> listOfUnconfirmed;

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public List<E> getListOfUnconfirmed() {
		return listOfUnconfirmed;
	}

	public void setListOfUnconfirmed(List<E> listOfUnconfirmed) {
		this.listOfUnconfirmed = listOfUnconfirmed;
	}
}
